package com.imooc.product.utils;

import com.imooc.product.VO.ResultVO;

/**
 * @Name com.imooc.product.utils.ResultVOUtil
 * @Description
 * @Author Elwyn
 * @Version 2020/3/17
 * @Copyright 上海云辰信息科技有限公司
 **/
public class ResultVOUtil {
	public static ResultVO success(Object object) {
		ResultVO resultVO = new ResultVO();
		resultVO.setData(object);
		resultVO.setMsg("成功");
		resultVO.setCode(0);
		return resultVO;
	}
}
